#include<iostream>
using namespace std;
class CAverage{
	public:
		double operator()(int a1,int a2,int a3)
		{
			return (double)(a1+a2+a3)/3;
		}
};
int main()
{
	CAverage average;
	cout<<average(3,2,3);
	return 0;
}